package com.health.db.service.user;

import java.math.BigDecimal;

import com.health.db.model.CourseShareLedger;
import com.health.db.model.CourseShareLedgerExample;
import com.health.db.model.GoodsOrder;

public interface ICourseShareLedgerService {
	
	 CourseShareLedger selectByUserId(Long recid);
	 
     int insert(CourseShareLedger record);

     int updateByPrimaryKeySelective(CourseShareLedger record);

     CourseShareLedgerExample insertCourseShareCash( CourseShareLedger record,String paymentId,BigDecimal ledgeTotal);
     
     int reset( CourseShareLedger record,CourseShareLedgerExample courseShareLedgerExample);
     
     void  updateCourseShareLedgePayment(GoodsOrder  record,String out_trade_no);
}
